package com.designMode.prototype;

import java.util.ArrayList;

/**
 * 实体原型类 深拷贝
 */
public class ConcretePrototype2 extends Prototype {
    @Override
    public Prototype clone() {
        Prototype clone = super.clone();
        this.arrayList = (ArrayList<String>) this.arrayList.clone();
        return clone;
    }
}
